FROM ccr.ccs.tencentyun.com/wxzzh/openjdk:21

COPY target/ypwl-pj-gateway-0.0.1-SNAPSHOT.jar /opt/app.jar
COPY docker-entrypoint.sh /opt/

WORKDIR /opt
EXPOSE 28080
RUN chmod +x ./docker-entrypoint.sh
ENTRYPOINT ["./docker-entrypoint.sh"]
